package com.changhai.diabetes.service;


import java.util.Map;

import com.changhai.diabetes.model.LabBlood;
import com.changhai.diabetes.model.LabGanshen;
import com.changhai.diabetes.model.LabLipids;
import com.changhai.diabetes.model.LabOther;
import com.changhai.diabetes.model.LabPancreatCtai;
import com.changhai.diabetes.model.LabPancreatOgtt;
import com.changhai.diabetes.model.LabPancreatYidaosu;
import com.changhai.diabetes.model.LabPhysical;
import com.changhai.diabetes.model.LabSugar;
import com.changhai.diabetes.model.LabUrine;

/**
 * 实验室
 * @author Andy
 *
 */
public interface LabService {
	public LabPhysical searchPhyByPatientId(Long patientid);	
	public LabSugar searchSugarByPatientId(Long patientid);	
	public LabBlood searchBloodByPatientId(Long patientid);	
	public LabGanshen searchGanshenByPatientId(Long patientid);	
	public LabLipids searchLipidsByPatientId(Long patientid);	
	public LabOther searchOtherByPatientId(Long patientid);	
	public LabUrine searchUrineByPatientId(Long patientid);	
	
	public LabPancreatOgtt searchOgttByPatientId(Long patientid);
	public LabPancreatYidaosu searchYidaosuByPatientId(Long patientid);
	public LabPancreatCtai searchCtaiByPatientId(Long patientid);
	
	public void saveEditLabSugar(LabSugar labsugar);
	public void saveEditLabBlood(LabBlood labblood);
	public void saveEditLabGanshen(LabGanshen labganshen);
	public void saveEditLabLipids(LabLipids lablipids);
	public void saveEditLabOther(LabOther labother);
	public void saveEditLabPhy(LabPhysical labphy);
	public void saveEditLabUrine(LabUrine laburine);
	
	public void saveEditLabOgtt(LabPancreatOgtt pancreatOgtt);
	public void saveEditLabYidaosu(LabPancreatYidaosu pancreatYidaosu);
	public void saveEditLabCtai(LabPancreatCtai pancreatCtai);
	
	public Long saveNewLabSugar(LabSugar labsugar);
	public Long saveNewLabPhy(LabPhysical labphy);
	public Long saveNewLabBlood(LabBlood labblood);
	public Long saveNewLabGanshen(LabGanshen labganshen);
	public Long saveNewLabLipids(LabLipids lablipids);
	public Long saveNewLabOther(LabOther labother);
	public Long saveNewLabUrine(LabUrine laburine);
	
	public Long saveNewLabOgtt(LabPancreatOgtt pancreatOgtt);
	public Long saveNewLabYidaosu(LabPancreatYidaosu pancreatYidaosu);
	public Long saveNewLabCtai(LabPancreatCtai pancreatCtai);
	
	public LabSugar searchSugarByTimeAndType(Map<String,Object> map);
	
	public LabPancreatOgtt searchOgttByPatientIdAndType(Map<String,Object> map);
	public LabPancreatYidaosu searchYidaosuByPatientIdAndType(Map<String,Object> map);
	public LabPancreatCtai searchCtaiByPatientIdAndType(Map<String,Object> map);
}
